/**
 * Copyright (C) 2013 Denatics Development
 *
 * Programmed by David Tiersch <dtiersch@denatics.com>
 *
 * This file is part of B0mberman.
 *
 * B0mberman is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * B0mberman is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with B0mberman. If not, see <http://www.gnu.org/licenses/>.
 */
package com.denatics.bomberman.entities;

/**
 * Solid walls, which can be destroyed.
 *
 * @author David Tiersch <dtiersch@denatics.com>
 */
public final class Block extends Entity {

    /**
     * Creates the Object and sets the properties to the target values.
     */
    public Block() {
        this.setSolid(true);
        this.setDestructable(true);
        this.setPortalable(true);
    }

    /*
     * (non-Javadoc)
     *
     * @see com.denatics.bomberman.entities.Entity#getType()
     */
    @Override
    public EntityType getType() {
        return EntityType.BLOCK;
    }

    /*
     * (non-Javadoc)
     *
     * @see com.denatics.bomberman.entities.Entity#getTexPosition()
     */
    @Override
    public int[] getTexPosition() {
        final int[] offset = { 0, 0 };
        return offset;
    }
}
